import axios from '@/libs/api.request'

  // 获取列表数据
  export const _getList = (param) => {
    return axios.request({
      url: 'system/alliance/show',
      params: param,
      method: 'get'
    })
  }

  // 审核
  export const _checkData = (param) => {
    return axios.request({
      url: 'system/alliance/check',
      params: param,
      method: 'post'
    })
  }

  // 新增
  export const _addData = (param) => {
    return axios.request({
      url: 'system/alliance/add',
      params: param,
      method: 'post'
    })
  }

  // 保存
  export const _saveData = (param) => {
    return axios.request({
      url: 'system/alliance/save',
      params: param,
      method: 'post'
    })
  }

  // 删除
  export const _delData = (param) => {
    return axios.request({
      url: 'system/alliance/delete',
      params: param,
      method: 'post'
    })
  }

  // 获取意见
  export const _getYj = (param) => {
    return axios.request({
      url: 'system/alliance/yj',
      params: param,
      method: 'get'
    })
  }

  // 获取一条数据
  export const _getOne = (param) => {
    return axios.request({
      url: 'system/alliance/one',
      params: param,
      method: 'get'
    })
  }

  // 提交申请
  export const _checkIn = (param) => {
    return axios.request({
      url: 'system/alliance/checkIn',
      params: param,
      method: 'post'
    })
  }
  